<form id="add_course_form" name="add_course_form">
    <fieldset>
        <legend contenteditable="false">课程信息</legend>
        <label contenteditable="false">课程名</label>
        <input placeholder="课程名" type="text" id="name" name="name"><br>
        <label contenteditable="false">学分</label>
        <select name="gp" id="gp">
            <option value="1">1</option>
            <option value="2">2</option>
            <option value="3">3</option>
            <option value="4">4</option>
            <option value="5">5</option>
            <option value="6">6</option>
        </select><br>
        <label contenteditable="false">任课教师</label>
        <select name="teacher" id="teacher">
        </select><br>
        <button class="btn" onclick="addCourese()" contenteditable="false" type="button">提交</button>
    </fieldset>
</form>